<style>

</style>
<template>
    <el-dialog
            title="绑定微信"
            :visible="value"
            :show-close="false"
            width="30%"
    >
        <div style="text-align: center;">
            <p style="color: #409EFF">微信扫描下方二维码,完成绑定</p>
            <img style="width: 300px;height: 300px;" v-if="value" src="/weixin/wxBindQrCode">
        </div>
        <span slot="footer" class="dialog-footer">
                <el-button @click="close">取 消</el-button>
                <el-button type="primary" @click="close">完成绑定</el-button>
              </span>
    </el-dialog>

</template>
<script>
    Rap.define(['/comp/upload'],{
        filters: {},
        props: {
            value:{
                'default': false
            }
        },

        data: function () {
            return {}
        },
        created: function () {

        },
        init: function (query, search) {

        },
        methods: {
            close: function () {
                this.$emit('input', false)
            }
        }
    });
</script>